#ifndef __TRANSLATIONS_CHARACTER_H__
#define __TRANSLATIONS_CHARACTER_H__

#include <iostream>
#include <vector>

/* 策略字符集*/
typedef enum tagCharset
{
    CHARSET_UTF8 = 0,
    CHARSET_LATIN1,
    CHARSET_GB2312,
    CHARSET_GBK,
    CHARSET_GBK18030,
    CHARSET_INVALID
}CHARSET_E;


int split_character(
  const std::string& input,
  std::vector<std::string> &output,
  CHARSET_E ch = CHARSET_UTF8);




#endif // end of __TRANSLATIONS_CHARACTER_H__

